<!DOCTYPE HTML>
<html>
<head>
<include file="Public:head" />
<js href="__PUBLIC__/Static/js/masonry/jquery.masonry.min.js" />
</head>

<body>
<include file="Public:header" />

<div class="midder">
<div class="mc">
	<h1>{$seo.title}</h1>
	<div class="cleft">
    	<if condition="$visitor['userid'] eq $strAlbum['userid']">
            <div class="pl photitle">
            <span class="fr">
            &nbsp;&gt;&nbsp;<a href="{:U('space/photos/album',array('d'=>'edit','id'=>$strAlbum['albumid']))}">修改相册属性</a>
            &nbsp;&gt;&nbsp;<a href="{:U('space/photos/album',array('d'=>'upload','id'=>$strAlbum['albumid']))}">添加照片</a>
            &nbsp;&gt;&nbsp;<a href="{:U('space/photos/album',array('d'=>'info','id'=>$strAlbum['albumid']))}">批量修改</a>
            &nbsp;&gt;&nbsp;<a href="{:U('space/photos/index',array('id'=>$strAlbum['userid']))}">返回我的相册首页</a>
            </span>
            </div>
        <else/>
        	<div class="pl photitle">
            <span class="fr">&gt; <a href="{:U('space/photos/index',array('id'=>$strAlbum['userid']))}">返回{$user['username']}的相册首页</a></span>
            </div>
        </if>

<div class="">
        <empty name="item_list">
        <if condition="$visitor['userid'] eq $strAlbum['userid']">
        <br>
        <p class="pl">这个相册现在还没有照片 , 你可以<b><a href="{:U('space/photos/album',array('d'=>'upload','id'=>$strAlbum['albumid']))}">添加照片</a></b></p>
        <else/>
        <br>
        <p class="pl">这个相册现在还没有照片</p>
        </if>
        </empty>

        <div id="J_waterfall" class="wall_container" data-uri="{:U('space/photos/index_ajax',array('albumid'=>$strAlbum['albumid'],'p'=>$p))}">
            <include file="Public:waterfall" />
        </div>
        
        <present name="show_load">
        <div id="J_wall_loading" class="wall_loading tc gray"><span>加载中。。。</span></div>
        </present>
        
        <present name="page_bar">
            <div id="J_wall_page" class="wall_page" <present name="show_page">style="display:block;"</present>>
                <div class="page_bar">{$page_bar}</div>
            </div>
        </present>   
</div>

    	
    </div><!--//cleft-->
    <div class="cright">
    	<include file="album_right"/>
    </div><!--//right-->
</div>
</div>
<js href="__STATIC_JS__/wall.js" />
<include file="Public:footer" />
</body>
</html>